/**
 * 证件识别
 */
export function recognitionCertificate(data) {
	return uni.$u.http.put('/member/basic/recognitionCertificate', data, {
		header: {
			'content-type': 'application/json',
		}
	});
}
/**
 * 新增客户
 */
export function addBasic(data) {
	return uni.$u.http.post('/member/basic', data, {
		header: {
			'content-type': 'application/json',
		}
	});
}

/**
 * 客户列表
 */
export function memberList(params) {
	return uni.$u.http.get('member/basic/list?'+ params);
}

/**
 * 客户详情
 */
export function memberDetail(params) {
	return uni.$u.http.get('member/basic/'+ params);
}

/**
 * 编辑客户
 */
export function editMember(data) {
	return uni.$u.http.put('/member/basic', data, {
		header: {
			'content-type': 'application/json',
		}
	});
}

/**
 * 删除客户
 */
export function deleteMember(params) {
	return uni.$u.http.delete('member/basic/'+ params);
}

